package bean;

import java.util.ArrayList;
import java.util.List;

public class LoaiHang extends Master {

    private int loaiHangID;
    private String tenLoai;
    private int quyCach;
    private String ghiChu;
    private Integer trangThai;
    private List<MatHang> matHangs = new ArrayList<MatHang>();

    public LoaiHang() {
    }

    public LoaiHang(String tenLoai, int quyCach, String ghiChu, Integer trangThai) {
        this.tenLoai = tenLoai;
        this.quyCach = quyCach;
        this.ghiChu = ghiChu;
        this.trangThai = trangThai;
    }

    public int getLoaiHangID() {
        return loaiHangID;
    }

    public void setLoaiHangID(int loaiHangID) {
        this.loaiHangID = loaiHangID;
    }

    public String getTenLoai() {
        return tenLoai;
    }

    public void setTenLoai(String tenLoai) {
        this.tenLoai = tenLoai;
    }

    public int getQuyCach() {
        return quyCach;
    }

    public void setQuyCach(int quyCach) {
        this.quyCach = quyCach;
    }

    public String getGhiChu() {
        return ghiChu;
    }

    public void setGhiChu(String ghiChu) {
        this.ghiChu = ghiChu;
    }

    public Integer getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(Integer trangThai) {
        this.trangThai = trangThai;
    }

    public List<MatHang> getMatHangs() {
        return matHangs;
    }

    public void setMatHangs(List<MatHang> matHangs) {
        this.matHangs = matHangs;
    }
}
